import platgo as pg


problem = pg.problems.Sphere()
N = 1
maxgen = 20
Algorithm = pg.algorithms.BFGS(maxgen=maxgen, problem=problem)
pop = Algorithm.go(N)
print(pop.objv)
